package com.blog.entity;

import java.util.Date;

/**
 * @author 蒲鑫
 * @function 功能：传输相片的相关信息
 * @date 2023年5月25日
 */
public class Photo {
	private int photoId;//相片id

	private String photoUrl;//相片地址

	private int userId;//所属用户id

	private Date uploadTime;//上传时间

	public int getPhotoId() {
		return photoId;
	}
	public void setPhotoId(int photoId) {
		this.photoId = photoId;
	}
	public String getPhotoUrl() {
		return photoUrl;
	}
	public void setPhotoUrl(String photoUrl) {
		this.photoUrl = photoUrl;
	}
	public int getUserId() {
		return userId;
	}
	public void setUserId(int userId) {
		this.userId = userId;
	}
	public Date getUploadTime() {
		return uploadTime;
	}
	public void setUploadTime(Date uploadTime) {
		this.uploadTime = uploadTime;
	}
	@Override
	public String toString() {
		return "Photo [photoId=" + photoId + ", photoUrl=" + photoUrl + ", userId=" + userId + ", uploadTime="
				+ uploadTime + "]";
	}
	
}
